package com.yy.wga.merchant.feign.api;


import com.yy.wga.common.core.dto.Result;
import com.yy.wga.merchant.feign.response.MerchantMpConfigInfoResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * 商户信息
 *
 * @author guochao
 * @since 2024-10-31 22:12:53
 */
@FeignClient(name = "MerchantInfoFeign",
        url = "http://127.0.0.1:9100",
        path = "/api/merchant/info")
public interface MerchantInfoFeign {

    /**
     * 获取商户信息
     * @return
     */
    @PostMapping("list")
    Result<List<MerchantMpConfigInfoResp>> list();
}
